@extends('admin.mainlayout')
@section('js')
    <script>
        window.onload = function(){

            /********快闪重定向*********/
            var message = "{{Session::get('message')}}";
            $(window).ready(function () {
                if (message) {
                    layer.msg(message, {
                        time: 3000,

                    });
                }
            });
            /********快闪重定向*********/

        }
    </script>
@endsection
@section('content')
    <div class="main-wrap">
        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">审核</span></div>
        </div>
        <div class="result-wrap">
            <form action="{{urlAdmin('Examine','postEdit')}}" method="post" >
                {{csrf_field()}}
                <div class="config-items">
                    <div class="result-content">
                        <table width="100%" class="insert-tab">
                            <tbody>

                            <tr>
                                <th width="15%">用户Id：</th>
                                <td>{{$list['u_id']}}</td>
                            </tr>
                            <tr>
                                <th>身份证号：</th>
                                <td>{{$list['idcard']}}</td>
                            </tr>


                            <tr>
                                <th>身份证正面图片：</th>
                                <td><img src="{{$list['idcardpositive']}}" /></td>
                            </tr>
                            <tr>
                                <th>身份证反面：</th>
                                <td><img src="{{$list['idcardside']}}" /></td>
                            </tr>
                            <tr>
                                <th>手持身份证：</th>
                                <td><img src="{{$list['idcardhold']}}" /></td>
                            </tr>
                            <tr>
                                <th>申请时间：</th>
                                <td>{{$list['add_time']}}</td>
                            </tr>
                            <tr>
                            </tr>

                                @if($list['status']==0)
                                <tr>
                                    <th>审核结果时间：</th>
                                    <td>{{$list['examine_time']?$list['examine_time']:"未审核"}}</td>
                                </tr>
                                <tr>
                                @endif

                            </tr>
                            <tr>
                                <th>审核人员：</th>
                                <td>{{$list['examine_name']}}</td>
                            </tr>
                            <tr>
                            <tr>
                                <th>状态</th>
                                <td>

                                @if($list['status']==0)
                                <input type="radio" value="0"  name="status" checked="checked" />审核中
                                <input type="radio" value="1"  name="status" /><span style="color:#00FF00">审核通过</span>
                                <input type="radio" value="2"  name="status" /><span style="color:#FF0000">审核未通过</span>
                                @elseif($list['status']==1)
                                <input type="radio" value="1"  name="status" checked="checked"  /><span style="color:#00FF00">审核通过</span>
                                @else
                                <input type="radio" value="2"  name="status" checked="checked" /><span style="color:#FF0000">审核未通过</span>
                                @endif

                                </td>
                            </tr>
                            <th></th>
                            <input type="hidden"  name="id" value="{{$list['id']}}"/>
                            <td>

                                    @if($list['status']==0)
                                    <input type="submit" value="提交" class="btn btn-primary btn6 mr10">
                                    @endif

                               <input type="button" value="返回"  class="btn btn6" onclick="history.go(-1)">
                            </td>
                            </tr>
                            </tbody></table>
                    </div>
                </div>
            </form>
        </div>
    </div>

@endsection
@section('footer')

@endsection